#include <stdio.h>
#include <malloc.h>
#include "vectors.h"

int main( int argc, const char* argv[] )
{
	vec3D v1 = {12, 5, -3}, v2 = {-22, -1, 13};
	printf( "\nvector 1: (%d, %d, %d)\n", v1.x, v1.y, v1.z);	
	printf( "vector 2: (%d, %d, %d)\n\n", v2.x, v2.y, v2.z);
	
	vec3DList list; list.length = 0;
	insertElement(&list, &v1);
	insertElement(&list, &v2);
	printf("Added vector 1 and 2 to vector list.\n");
	printList(&list);

	removeElement(&list);
	printf("Removed one element from vector list.\n");
	printList(&list);

	removeElement(&list);
	printf("Removed one element from vector list.\n");
	printList(&list);
}
